↳ Prolog
↳ PrologToPiTRSProof
ackermann_in_gga(0, N, s(N)) → ackermann_out_gga(0, N, s(N))
ackermann_in_gga(s(M), 0, Res) → U1_gga(M, Res, ackermann_in_gga(M, s(0), Res))
ackermann_in_gga(s(M), s(N), Res) → U2_gga(M, N, Res, ackermann_in_gga(s(M), N, Res1))
U2_gga(M, N, Res, ackermann_out_gga(s(M), N, Res1)) → U3_gga(M, N, Res, ackermann_in_gga(M, Res1, Res))
U3_gga(M, N, Res, ackermann_out_gga(M, Res1, Res)) → ackermann_out_gga(s(M), s(N), Res)
U1_gga(M, Res, ackermann_out_gga(M, s(0), Res)) → ackermann_out_gga(s(M), 0, Res)
Infinitary Constructor Rewriting Termination of PiTRS implies Termination of Prolog
↳ Prolog
↳ PrologToPiTRSProof
↳ PiTRS
↳ DependencyPairsProof
ackermann_in_gga(0, N, s(N)) → ackermann_out_gga(0, N, s(N))
ackermann_in_gga(s(M), 0, Res) → U1_gga(M, Res, ackermann_in_gga(M, s(0), Res))
ackermann_in_gga(s(M), s(N), Res) → U2_gga(M, N, Res, ackermann_in_gga(s(M), N, Res1))
U2_gga(M, N, Res, ackermann_out_gga(s(M), N, Res1)) → U3_gga(M, N, Res, ackermann_in_gga(M, Res1, Res))
U3_gga(M, N, Res, ackermann_out_gga(M, Res1, Res)) → ackermann_out_gga(s(M), s(N), Res)
U1_gga(M, Res, ackermann_out_gga(M, s(0), Res)) → ackermann_out_gga(s(M), 0, Res)
ACKERMANN_IN_GGA(s(M), 0, Res) → U1_GGA(M, Res, ackermann_in_gga(M, s(0), Res))
ACKERMANN_IN_GGA(s(M), 0, Res) → ACKERMANN_IN_GGA(M, s(0), Res)
ACKERMANN_IN_GGA(s(M), s(N), Res) → U2_GGA(M, N, Res, ackermann_in_gga(s(M), N, Res1))
ACKERMANN_IN_GGA(s(M), s(N), Res) → ACKERMANN_IN_GGA(s(M), N, Res1)
U2_GGA(M, N, Res, ackermann_out_gga(s(M), N, Res1)) → U3_GGA(M, N, Res, ackermann_in_gga(M, Res1, Res))
U2_GGA(M, N, Res, ackermann_out_gga(s(M), N, Res1)) → ACKERMANN_IN_GGA(M, Res1, Res)
ackermann_in_gga(0, N, s(N)) → ackermann_out_gga(0, N, s(N))
ackermann_in_gga(s(M), 0, Res) → U1_gga(M, Res, ackermann_in_gga(M, s(0), Res))
ackermann_in_gga(s(M), s(N), Res) → U2_gga(M, N, Res, ackermann_in_gga(s(M), N, Res1))
U2_gga(M, N, Res, ackermann_out_gga(s(M), N, Res1)) → U3_gga(M, N, Res, ackermann_in_gga(M, Res1, Res))
U3_gga(M, N, Res, ackermann_out_gga(M, Res1, Res)) → ackermann_out_gga(s(M), s(N), Res)
U1_gga(M, Res, ackermann_out_gga(M, s(0), Res)) → ackermann_out_gga(s(M), 0, Res)
↳ Prolog
↳ PrologToPiTRSProof
↳ PiTRS
↳ DependencyPairsProof
↳ PiDP
↳ DependencyGraphProof
ACKERMANN_IN_GGA(s(M), 0, Res) → U1_GGA(M, Res, ackermann_in_gga(M, s(0), Res))
ACKERMANN_IN_GGA(s(M), 0, Res) → ACKERMANN_IN_GGA(M, s(0), Res)
ACKERMANN_IN_GGA(s(M), s(N), Res) → U2_GGA(M, N, Res, ackermann_in_gga(s(M), N, Res1))
ACKERMANN_IN_GGA(s(M), s(N), Res) → ACKERMANN_IN_GGA(s(M), N, Res1)
U2_GGA(M, N, Res, ackermann_out_gga(s(M), N, Res1)) → U3_GGA(M, N, Res, ackermann_in_gga(M, Res1, Res))
U2_GGA(M, N, Res, ackermann_out_gga(s(M), N, Res1)) → ACKERMANN_IN_GGA(M, Res1, Res)
ackermann_in_gga(0, N, s(N)) → ackermann_out_gga(0, N, s(N))
ackermann_in_gga(s(M), 0, Res) → U1_gga(M, Res, ackermann_in_gga(M, s(0), Res))
ackermann_in_gga(s(M), s(N), Res) → U2_gga(M, N, Res, ackermann_in_gga(s(M), N, Res1))
U2_gga(M, N, Res, ackermann_out_gga(s(M), N, Res1)) → U3_gga(M, N, Res, ackermann_in_gga(M, Res1, Res))
U3_gga(M, N, Res, ackermann_out_gga(M, Res1, Res)) → ackermann_out_gga(s(M), s(N), Res)
U1_gga(M, Res, ackermann_out_gga(M, s(0), Res)) → ackermann_out_gga(s(M), 0, Res)
↳ Prolog
↳ PrologToPiTRSProof
↳ PiTRS
↳ DependencyPairsProof
↳ PiDP
↳ DependencyGraphProof
↳ PiDP
↳ PiDPToQDPProof
U2_GGA(M, N, Res, ackermann_out_gga(s(M), N, Res1)) → ACKERMANN_IN_GGA(M, Res1, Res)
ACKERMANN_IN_GGA(s(M), s(N), Res) → ACKERMANN_IN_GGA(s(M), N, Res1)
ACKERMANN_IN_GGA(s(M), 0, Res) → ACKERMANN_IN_GGA(M, s(0), Res)
ACKERMANN_IN_GGA(s(M), s(N), Res) → U2_GGA(M, N, Res, ackermann_in_gga(s(M), N, Res1))
ackermann_in_gga(0, N, s(N)) → ackermann_out_gga(0, N, s(N))
ackermann_in_gga(s(M), 0, Res) → U1_gga(M, Res, ackermann_in_gga(M, s(0), Res))
ackermann_in_gga(s(M), s(N), Res) → U2_gga(M, N, Res, ackermann_in_gga(s(M), N, Res1))
U2_gga(M, N, Res, ackermann_out_gga(s(M), N, Res1)) → U3_gga(M, N, Res, ackermann_in_gga(M, Res1, Res))
U3_gga(M, N, Res, ackermann_out_gga(M, Res1, Res)) → ackermann_out_gga(s(M), s(N), Res)
U1_gga(M, Res, ackermann_out_gga(M, s(0), Res)) → ackermann_out_gga(s(M), 0, Res)
↳ Prolog
↳ PrologToPiTRSProof
↳ PiTRS
↳ DependencyPairsProof
↳ PiDP
↳ DependencyGraphProof
↳ PiDP
↳ PiDPToQDPProof
↳ QDP
↳ QDPSizeChangeProof
ACKERMANN_IN_GGA(s(M), s(N)) → U2_GGA(M, ackermann_in_gga(s(M), N))
U2_GGA(M, ackermann_out_gga(Res1)) → ACKERMANN_IN_GGA(M, Res1)
ACKERMANN_IN_GGA(s(M), 0) → ACKERMANN_IN_GGA(M, s(0))
ACKERMANN_IN_GGA(s(M), s(N)) → ACKERMANN_IN_GGA(s(M), N)
ackermann_in_gga(0, N) → ackermann_out_gga(s(N))
ackermann_in_gga(s(M), 0) → U1_gga(ackermann_in_gga(M, s(0)))
ackermann_in_gga(s(M), s(N)) → U2_gga(M, ackermann_in_gga(s(M), N))
U2_gga(M, ackermann_out_gga(Res1)) → U3_gga(ackermann_in_gga(M, Res1))
U3_gga(ackermann_out_gga(Res)) → ackermann_out_gga(Res)
U1_gga(ackermann_out_gga(Res)) → ackermann_out_gga(Res)
ackermann_in_gga(x0, x1)
U2_gga(x0, x1)
U3_gga(x0)
U1_gga(x0)
From the DPs we obtained the following set of size-change graphs: